




package com.qf.test;


import com.qf.dao.UserDao;
import com.qf.dao.UserDaoImpl;
import com.qf.dao.impl.CartDaoImpl;
import com.qf.dao.impl.GoodsDaoImpl;
import com.qf.dao.impl.TypeDaoImpl;
import com.qf.pojo.Cart;
import com.qf.pojo.Type;
import com.qf.pojo.User;
import com.qf.service.AdminServiceImpl;
import com.qf.service.impl.TypeServiceImpl;
import com.sun.org.glassfish.gmbal.Description;

import java.util.List;


public class test {
    public static void main(String[] args) {
        UserDao userDao= new UserDaoImpl();
        AdminServiceImpl adminService = new AdminServiceImpl(userDao);

        TypeDaoImpl typeDao = new TypeDaoImpl();

        List<Type> types = typeDao.findAll();


        TypeServiceImpl typeService = new TypeServiceImpl();
        List<Type> types1 = typeService.findAllType();





    }

}






